portableSql

Log Portable SQL Function

Syntax

Log as N (Number as N)

Arguments

NumberNumeric

A numeric field or value greater than 0.

Returns

resultNumeric

Returns the natural logarithm (base e) for a number.

Description

Returns the natural logarithm (base e) for a number.

Discussion

The Log function return the natural logarithm (base e) for a number. The number must be greater than 0.

Log() function executed on the Northwind Access database
SELECT FIRST 1 Log(12) AS EXPR1 FROM Products
 = 2.484906649788